<template>
  <div>
    {{ countTime }}
    <button @click="start">开始定时器</button>
  </div>
</template>

<script>
import { useCountDown } from '@/compositions/index'
export default {
  setup () {
    return {
      ...useCountDown(60)
    }
  }
}
</script>
